//
//  CheatsTransition.h
//  MDC
//
//  Created by Kang on 16/8/12.
//  Copyright © 2016年 YTYangK. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "CheatsClassesCell.h"
#import "EvernoteDetailController.h"

@interface CheatsTransition : NSObject <UIViewControllerAnimatedTransitioning,UIViewControllerTransitioningDelegate,EvernoteDetailControllerDelegate>

@property (setter=isPresent: ,assign, nonatomic) BOOL present;
@property (strong, nonatomic) CheatsClassesCell *selectCell;
@property (strong, nonatomic) NSArray *visibleCells;
@property (assign, nonatomic) CGRect originFrame;
@property (assign, nonatomic) CGRect finalFrame;
@property (strong, nonatomic) UIViewController *panViewController;
@property (strong, nonatomic) UIViewController *listViewController;

@property (strong, nonatomic) UIPercentDrivenInteractiveTransition *interactionController;
- (void)cheatsTransitionWithSelectCell:(CheatsClassesCell *)selectCell visibleCells:(NSArray *)visibleCells originFrame:(CGRect)originFrame finalFrame:(CGRect)finalFrame panViewController:(UIViewController *)panVC listViewController:(UIViewController *)listVC;

@end
